home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Paparazzi!: Tales of Tinseltown
/
Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso
/
pprazia1.dir
/
00055_Script_Options Enter Script
< prev
next >
Wrap
Text File
|
1995-05-21
|
3KB
|
96 lines
on exitFrame
global gCurrentPlayer, player1, player2, player3,¼
player4, player5, player6, theMovieName, gTheCDPath,¼
gTheDay, HDPathName
if soundbusy(1) then
nothing
else
sound playfile 1, HDPathName & "hang8bit.aif"
end if
put 0 into theMovieName
unloadcast
optionsON -- puppets all the option screen sprites
-- sets all the character icons
set the castNum of sprite 9 = cast line 11 of player1
set the castNum of sprite 10 = cast line 11 of player2
set the castNum of sprite 11 = cast line 11 of player3
set the castNum of sprite 12 = cast line 11 of player4
set the castNum of sprite 13 = cast line 11 of player5
set the castNum of sprite 14 = cast line 11 of player6
-- sets all the names of the characters
set the castNum of sprite 16 = cast line 10 of player1
set the castNum of sprite 17 = cast line 10 of player2
set the castNum of sprite 18 = cast line 10 of player3
set the castNum of sprite 19 = cast line 10 of player4
set the castNum of sprite 20 = cast line 10 of player5
set the castNum of sprite 21 = cast line 10 of player6
--sets the day the character is on, if any
set the castNum of sprite 23 = cast line 12 of player1
set the castNum of sprite 24 = cast line 12 of player2
set the castNum of sprite 25 = cast line 12 of player3
set the castNum of sprite 26 = cast line 12 of player4
set the castNum of sprite 27 = cast line 12 of player5
set the castNum of sprite 28 = cast line 12 of player6
if value(gCurrentPlayer) = 0 then
exit
end if
if value(gCurrentPlayer) = 1 then
set b = the name of cast string(the name of cast ¼
value(the castNum of sprite 9)) & "hl"
set the castNum of sprite 9 = cast string(b)
updatestage
writeCurrentPlayer
exit
end if
if value(gCurrentPlayer) = 2 then
set b = the name of cast string(the name of cast ¼
value(the castNum of sprite 10)) & "hl"
set the castNum of sprite 10 = cast string(b)
updatestage
exit
end if
if value(gCurrentPlayer) = 3 then
set b = the name of cast string(the name of cast ¼
value(the castNum of sprite 11)) & "hl"
set the castNum of sprite 11 = cast string(b)
updatestage
exit
end if
if value(gCurrentPlayer) = 4 then
set b = the name of cast string(the name of cast ¼
value(the castNum of sprite 12)) & "hl"
set the castNum of sprite 12 = cast string(b)
updatestage
exit
end if
if value(gCurrentPlayer) = 5 then
set b = the name of cast string(the name of cast ¼
value(the castNum of sprite 13)) & "hl"
set the castNum of sprite 13 = cast string(b)
updatestage
exit
end if
if value(gCurrentPlayer) = 6 then
set b = the name of cast string(the name of cast ¼
value(the castNum of sprite 14)) & "hl"
set the castNum of sprite 14 = cast string(b)
updatestage
exit
end if
end